home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / amos / AMOSList0993.lzh / AMOSLIST / 000000_amos-request@svcs1.digex.net_Fri Sep 3 12:38:59 1993.msg next >
Internet Message Format  |  1993-10-03  |  3KB

  1. Received: from nextsun.INS.CWRU.Edu by access.digex.net with SMTP id AA11159
  2.   (5.65c/IDA-1.4.4 for <mcox@access.digex.com>); Fri, 3 Sep 1993 12:38:54 -0400
  3. Received: from svcs1.digex.net by nextsun.INS.CWRU.Edu with SMTP (5.65b+ida+/CWRU-1.5.2-freenet-gw)
  4.     id AA07895; Fri, 3 Sep 93 12:38:33 -0400 (from amos-request@svcs1.digex.net for mcox@access.digex.com)
  5. Received: by svcs1.digex.net id AA01151
  6.   (5.65c/IDA-1.4.4 for amos-list-out); Fri, 3 Sep 1993 12:28:14 -0400
  7. Received: from access.digex.net by svcs1.digex.net with SMTP id AA01147
  8.   (5.65c/IDA-1.4.4 for <amos-list@svcs1.digex.net>); Fri, 3 Sep 1993 12:28:11 -0400
  9. Received: from ACS.BU.EDU by access.digex.net with SMTP id AA10067
  10.   (5.65c/IDA-1.4.4 for <amos-list@access.digex.net>); Fri, 3 Sep 1993 12:28:09 -0400
  11. Received: from ACS2.BU.EDU by acs.bu.edu (5.61+++/AIX-3.2)
  12.     id AA142506; Fri, 3 Sep 93 12:27:26 -0400
  13. From: hacker@acs.bu.edu (Jose Elias)
  14. Received: by acs2.bu.edu (5.61+++/Spike-2.1)
  15.     id AA83216; Fri, 3 Sep 93 12:26:52 -0400
  16. Date: Fri, 3 Sep 93 12:26:52 -0400
  17. Message-Id: <9309031626.AA83216@acs2.bu.edu>
  18. To: amos-list@access.digex.net
  19. Subject: Look at this 24 lines of code
  20. Status: RO
  21.  
  22.  
  23. HI everyone!!!
  24. I recently posted some help on a flickering bob routine
  25. and got about 5 different answers, three of them worked,
  26. but two of them were FAST, and so I decided to use the
  27. shortest one of the two.
  28.  
  29. Now my problem is, when I tried the piece of code
  30. in a small individual program, everything worked fine,
  31. BUT when I tried it in my real-life 24k program, for
  32. some reason I get NOTHING on the screen!!!
  33.  
  34. So here's the 24k code reduced to about 24 lines,
  35. I'll just show you the commands that have anything
  36. to do whith handling graphics, ok? here it is:
  37.  
  38.  
  39. screen open 1,352,240,32,lowres
  40. load iff "infest:gameboard",1
  41. screen display 1,,20,,
  42. screen to front 1
  43. load iff "infest:players",2
  44. screen to back 2
  45. change mouse 2
  46. double buffer
  47. autoback 0
  48. update off
  49.     .
  50.     .
  51.     .
  52. load "infest:infestbobs.abk",1
  53. screen 1
  54. load "infest:samples.abk",1
  55. sam bank 1
  56.     .
  57.     .
  58.     .
  59. Piece-Anim : rem calls the procedure you guys helped me with
  60.     .
  61.     .
  62.     .
  63. procedure Piece-Anim
  64. for range=rangeL to rangeR
  65.    bob clear
  66.    bob 1,xblit,yblit,range
  67.    bob draw
  68.    screen swap
  69.    wait 2
  70. next range
  71. end proc
  72.  
  73. rem this is it!, so what am I doing wrong here?????????????
  74.  
  75. p.s.: Are there any books that actually EXPLAIN what each
  76.       command REALLY does and how it AFFECTS other commads
  77.       later on in your code???
  78.  
  79. sincerely,
  80.     hacker@acs.bu.edu
  81.  
  82. p.s.: THANKS in advance everyone!!!
  83.